import api from '../api'
import settings from '~/conf/settings'

const state = {
}


const getters = {

}

const actions = {

  statisticDayIncome({commit, dispatch}) {
    return api.get(api.url('statisticDayIncome'))
  },

  statisticMonthIncome({commit, dispatch}) {
    return api.get(api.url('statisticMonthIncome'))
  },

  statisticYearIncome({commit, dispatch}) {
    return api.get(api.url('statisticYearIncome'))
  },

  staticsDayFlow({commit, dispatch}) {
    return api.get(api.url('staticsDayFlow'))
  },

  bistroData({commit, dispatch}) {
    return api.get(api.url('bistroData'))
  }

}

const mutations = {

}

export default {
  state,
  getters,
  actions,
  mutations
}
